# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/farsight/farsight-0.1.3.1.ebuild,v 1.1 2006/06/09 23:28:59 genstef Exp $

inherit subversion mono 

DESCRIPTION="Telepathy client based on tapioca."
HOMEPAGE="http://tapioca-voip.sourceforge.net/"
SRC_URI=""

ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/${PN}/trunk/${PN}"
ESVN_LOCALREPO=${PN}
RESTRICT="nomirror"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
IUSE="doc"
SLOT="0"

RDEPEND="dev-dotnet/telepathy-sharp
	dev-dotnet/tapioca-sharp
	=media-libs/gstreamer-0.10*
	>=media-plugins/gst-plugins-farsight-0.10*
	>=dev-libs/glib-2.0
	dev-libs/libxml2"

DOCS="AUTHORS README COPYING ChangeLog INSTALL NEWS README CONTRIBUTERS TODO"

src_compile(){
	NOCONFIGURE=1 ./autogen.sh
	econf || die "configure failed"
	cp ${FILESDIR}/LoginWidget.cs ${FILESDIR}/ConnectionWidget.cs \
		${S}/src/Widgets 
	emake -j1 || die "make failed"
}

src_install(){
	make DESTDIR="${D}" install || die "install failed"
	dodoc ChangeLog README COPYING
}

